export const rules =(validatePwd)=> {
    return {
        newpassword: [{ required: true, message: '请输入密码', trigger: 'blur' }],
        againPassword: [{ required: true, validator: validatePwd, trigger: 'blur' }]
    }
};
